--- title: CTX keywords: fastai sidebar: home_sidebar summary: "Utils for working with MRO CTX data" description: "Utils for working with MRO CTX data" nb_path: "notebooks/03_ctx.ipynb" ---
edrindex.head()
id_ = "F10_039666_1383_XN_41S315W"
ctx = CTXEDR(id_)
ctx
ctx.id
assert ctx.id == ctx.product_id
ctx.meta
ctx.storage
ctx.local_folder
ctx.url
ctx.download()
ctx.isis_import()
ctx.spice_init()
ctx.calibrate()
ctx.destripe()
ctx.calib_pipeline()
ctx.plot_calibrated()
ds = ctx.read_edr()
ds
ids = edrindex.sample(3, random_state=42).PRODUCT_ID
ids
coll = CTXEDRCollection(ids)
coll.get_urls()
The next command launches a parallel download, conveniently:
lazys = coll.download_collection()
lazys